Repository navigation
Pin files so they stay when the ledge is cleared - #2
Merged
Merged
Conversation
Some files get re-added to the ledge over and over. Pinning keeps them across clear, and they sit at the top until they are unpinned. Individual remove still takes a pinned chip — clear is the action that leaves them. The pin is stored with the rest of the ledge state, so it survives a shell restart. `omarchy-ledge pin` adds the file if needed, which is the CLI path for the same habit. Closes #1
Owner
Author
screenrecording-2026-09-08_16-22-09.mp4Demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1.
Hover a chip and pin it. Pinned files sit at the top, survive a shell restart, and are left behind when you clear the ledge. Unpin them (or remove that chip) and they go back to being ordinary files.
omarchy-ledge pin ~/fileadds the file if it is not already on the ledge, which is the CLI path for the files you keep putting back.Clear is the action that respects the pin. Removing one chip, or a selection, still takes it — that is a choice about that file, not a sweep of the whole ledge.
How to try it
Then hover a file, click the pin, and clear. The pinned chips should stay.